import { handleDataStr } from '@/util/index'

const nameStr = `
companyId
department
userid
job
status
docStatus
phone2
currencyCode
grantAmount
spentAmount
availableAmount
email
phone
docType
createBy
createDate
modifyBy
modifyDate
`
const chineseNameStr = `
公司ID
所在部门
担保人ID
职位
人员状态
状态
手机 
货币
授予金额
已用金额
可用金额
电子邮件 
电话 
单据类型
创建人 
创建时间 
更新人 
更新时间 
`

export default handleDataStr(nameStr, chineseNameStr)

// { "name": "userid", "chineseName": "担保人ID", "lang": "erp.financial.userid" },
//   { "name": "grantAmount", "chineseName": "授予金额", "lang": "erp.financial.grantAmount" },
//   { "name": "spentAmount", "chineseName": "已用金额", "lang": "erp.financial.spentAmount" },
//   { "name": "availableAmount", "chineseName": "可用金额", "lang": "erp.financial.availableAmount" },
//   { "name": "companyId", "chineseName": "公司ID", "lang": "erp.financial.companyId" },
//   { "name": "department", "chineseName": "所在部门", "lang": "erp.financial.department" },
//   { "name": "job", "chineseName": "职位 ", "lang": "erp.financial.job" },
//   { "name": "status", "chineseName": "人员状态", "lang": "erp.financial.status" },
//   { "name": "phone", "chineseName": "电话 ", "lang": "erp.financial.phone" },
//   { "name": "description", "chineseName": "描述", "lang": "erp.financial.description",span: 24 },
//   { "name": "docStatus", "chineseName": "状态", "lang": "erp.financial.docStatus" },
//   { "name": "createBy", "chineseName": "创建人 ", "lang": "erp.financial.createBy" },
//   { "name": "createDate", "chineseName": "创建时间 ", "lang": "erp.financial.createDate" },
//   { "name": "modifyBy", "chineseName": "更新人 ", "lang": "erp.financial.modifyBy" },
//   { "name": "modifyDate", "chineseName": "更新时间", "lang": "erp.financial.modifyDate" },

// { "name": "companyId", "chineseName": "公司", "lang": "erp.financial.companyId",prop:true,type:'search',searchType:'company_code' },
//   { "name": "department", "chineseName": "部门", "lang": "erp.financial.department",prop:true,type:'search' },
//   { "name": "userid", "chineseName": "担保人ID", "lang": "erp.financial.userid",prop:true,type:'search' },
//   { "name": "job", "chineseName": "职位 ", "lang": "erp.financial.job" ,type:'select',selectOption:['COO','CEO','经理','高级经理']},
//   { "name": "status", "chineseName": "人员状态", "lang": "erp.financial.status",type:'select',selectOption:['在职','离职'] },
//   { "name": "docType", "chineseName": "单据类型", "lang": "erp.financial.docType",type:'select',selectOption:['担保']  },
//   { "name": "currencyCode", "chineseName": "货币", "lang": "erp.financial.currencyCode",prop:true,type:'search'  },
//   { "name": "phone2", "chineseName": "手机 ", "lang": "erp.financial.phone2" },
//   { "name": "docStatus", "chineseName": "单据状态", "lang": "erp.financial.docStatus",prop:true,disabled:true },
//   { "name": "grantAmount", "chineseName": "授予金额", "lang": "erp.financial.grantAmount",prop:true },
//   { "name": "availableAmount", "chineseName": "可用金额", "lang": "erp.financial.availableAmount",disabled:true },
//   { "name": "spentAmount", "chineseName": "已用金额", "lang": "erp.financial.spentAmount",disabled:true},
//   { "name": "email", "chineseName": "电子邮件 ", "lang": "erp.financial.email" },
//   { "name": "phone", "chineseName": "电话 ", "lang": "erp.financial.phone" },
// { "name": "description", "chineseName": "描述", "lang": "erp.financial.description",span: 24 },
